x86: efi_loader: Build EFI memory map per E820 table
authorBin Meng <[email protected]>
Thu, 28 Jun 2018 03:38:01 +0000 (20:38 -0700)
committerBin Meng <[email protected]>
Mon, 2 Jul 2018 01:23:28 +0000 (09:23 +0800)
commitabe47ca728f5b22d1ec9fcf609e00b331c4d5273
tree2598d753ea1931a7d196da378f363712ed1a44d3
parent8199a145c40791f0bc272fc016494028cf250195
x86: efi_loader: Build EFI memory map per E820 table

On x86 traditional E820 table is used to pass the memory information
to kernel. With EFI loader we can build the EFI memory map from it.

Signed-off-by: Bin Meng <[email protected]>
Reviewed-by: Simon Glass <[email protected]>
arch/x86/lib/e820.c